<template>
    <button class="text-bt"
            @click="$emit('click')">
    <slot></slot>
    </button>
</template>

<script lang="ts" >
export default{
    name:'text-button'
}

</script>

<style scoped>

.text-bt{
/* 清除默认边框和背景 */
  border: none;
  background: none;
  /* 清除默认内边距 */
  padding: 5px 10px;
  /* 继承父元素字体样式 */
  font-family: inherit;
  font-size: inherit;
  /* 鼠标悬停时显示手型光标 */
  cursor: pointer;
  /* 移除聚焦时的默认轮廓（后续会自定义） */
  outline: none;

  transition: all 0.4s ease;

  background-color: rgba(252, 252, 252, 0);
  color: rgba(255, 255, 255, 0.801);
  font-weight: 300;
}

.text-bt:hover{
  color: rgba(2, 227, 252, 0.751);
}
</style>